package com.vitabuybuy.tv.dto;

import com.vitabuybuy.tv.utils.LanaugeUtils;

import java.util.List;

/**
 * 作者：SimGa
 * 日期：2021/2/4
 * 时间：17:32
 * 包名：com.vitabuybuy.tv.dto
 */
public class GoodsRecommendAndSimilerDto {

    /**
     * thumbnail : http://106.55.47.138/attachment/png/223/1629_9067.png
     * originalPrice : 99
     * salePrice : 100
     * name : {"MA":"baju putih","EN":"white shirt ","CN":"白衬衫"}
     * id : 90
     * store : {"name":"马来西亚潮男装卖店","id":12}
     * brand : {"name":"斐乐fila","id":11}
     */

    private List<RecommendProductListBean> recommendProductList;
    /**
     * thumbnail : http://106.55.47.138/attachment/png/223/1629_9067.png
     * originalPrice : 99
     * salePrice : 100
     * name : {"MA":"baju putih","EN":"white shirt ","CN":"白衬衫"}
     * id : 90
     * store : {"name":"马来西亚潮男装卖店","id":12}
     * brand : {"name":"斐乐fila","id":11}
     */

    private List<SimilarProductListBean> similarProductList;

    public List<RecommendProductListBean> getRecommendProductList() {
        return recommendProductList;
    }

    public void setRecommendProductList(List<RecommendProductListBean> recommendProductList) {
        this.recommendProductList = recommendProductList;
    }

    public List<SimilarProductListBean> getSimilarProductList() {
        return similarProductList;
    }

    public void setSimilarProductList(List<SimilarProductListBean> similarProductList) {
        this.similarProductList = similarProductList;
    }

    public static class RecommendProductListBean {
        private String thumbnail;
        private double originalPrice;
        private double salePrice;
        private int salesQuantity;
        private String name;
        private int id;
        /**
         * name : 马来西亚潮男装卖店
         * id : 12
         */

        private StoreBean store;

        public int getSalesQuantity() {
            return salesQuantity;
        }

        public void setSalesQuantity(int salesQuantity) {
            this.salesQuantity = salesQuantity;
        }

        /**
         * name : 斐乐fila
         * id : 11
         */


        private BrandBean brand;

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public double getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(double originalPrice) {
            this.originalPrice = originalPrice;
        }

        public double getSalePrice() {
            return salePrice;
        }

        public void setSalePrice(double salePrice) {
            this.salePrice = salePrice;
        }

        public String getName() {
            return LanaugeUtils.returnStrByLocation(name);
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public StoreBean getStore() {
            return store;
        }

        public void setStore(StoreBean store) {
            this.store = store;
        }

        public BrandBean getBrand() {
            return brand;
        }

        public void setBrand(BrandBean brand) {
            this.brand = brand;
        }

        public static class StoreBean {
            private String name;
            private int id;

            public String getName() {
                return LanaugeUtils.returnStrByLocation(name);
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class BrandBean {
            private String name;
            private int id;

            public String getName() {
                return LanaugeUtils.returnStrByLocation(name);
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }

    public static class SimilarProductListBean {
        private String thumbnail;
        private double originalPrice;
        private double salePrice;
        private int salesQuantity;
        private String name;
        private int id;

        public int getSalesQuantity() {
            return salesQuantity;
        }

        public void setSalesQuantity(int salesQuantity) {
            this.salesQuantity = salesQuantity;
        }

        /**
         * name : 马来西亚潮男装卖店
         * id : 12
         */

        private StoreBean store;
        /**
         * name : 斐乐fila
         * id : 11
         */

        private BrandBean brand;



        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public double getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(double originalPrice) {
            this.originalPrice = originalPrice;
        }

        public double getSalePrice() {
            return salePrice;
        }

        public void setSalePrice(double salePrice) {
            this.salePrice = salePrice;
        }

        public String getName() {
            return LanaugeUtils.returnStrByLocation(name);
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public StoreBean getStore() {
            return store;
        }

        public void setStore(StoreBean store) {
            this.store = store;
        }

        public BrandBean getBrand() {
            return brand;
        }

        public void setBrand(BrandBean brand) {
            this.brand = brand;
        }

        public static class StoreBean {
            private String name;
            private int id;

            public String getName() {
                return LanaugeUtils.returnStrByLocation(name);
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class BrandBean {
            private String name;
            private int id;

            public String getName() {
                return LanaugeUtils.returnStrByLocation(name);
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
